package cn.yunhe.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;


public class Member implements Serializable {
    private Integer mid;
    private String maccount;
    private String mpwd;
    private String mphone;
    private String mname;
    private String mpic;
    private Integer mstate;
    private Integer mflag;

    private Set<House>houseSet=new HashSet<>();

    public Member() {
    }

    public Member(String maccount, String mpwd, String mphone, String mname, String mpic, Integer mstate, Integer mflag) {
        this.maccount = maccount;
        this.mpwd = mpwd;
        this.mphone = mphone;
        this.mname = mname;
        this.mpic = mpic;
        this.mstate = mstate;
        this.mflag = mflag;
    }

    public Member(String maccount, String mpwd, String mphone, String mname, String mpic, Integer mstate, Integer mflag, Set<House> houseSet) {
        this.maccount = maccount;
        this.mpwd = mpwd;
        this.mphone = mphone;
        this.mname = mname;
        this.mpic = mpic;
        this.mstate = mstate;
        this.mflag = mflag;
        this.houseSet = houseSet;
    }

    public Member(Integer mid, String maccount, String mpwd, String mphone, String mname, String mpic, Integer mstate, Integer mflag, Set<House> houseSet) {
        this.mid = mid;
        this.maccount = maccount;
        this.mpwd = mpwd;
        this.mphone = mphone;
        this.mname = mname;
        this.mpic = mpic;
        this.mstate = mstate;
        this.mflag = mflag;
        this.houseSet = houseSet;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMaccount() {
        return maccount;
    }

    public void setMaccount(String maccount) {
        this.maccount = maccount;
    }

    public String getMpwd() {
        return mpwd;
    }

    public void setMpwd(String mpwd) {
        this.mpwd = mpwd;
    }

    public String getMphone() {
        return mphone;
    }

    public void setMphone(String mphone) {
        this.mphone = mphone;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMpic() {
        return mpic;
    }

    public void setMpic(String mpic) {
        this.mpic = mpic;
    }

    public Integer getMstate() {
        return mstate;
    }

    public void setMstate(Integer mstate) {
        this.mstate = mstate;
    }


    public Integer getMflag() {
        return mflag;
    }

    public void setMflag(Integer mflag) {
        this.mflag = mflag;
    }
    
    public Set<House> getHouseSet() {
        return houseSet;
    }

    public void setHouseSet(Set<House> houseSet) {
        this.houseSet = houseSet;
    }
}
